﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using MedicalCare.EntityDefinitions.Entities;

namespace MedicalCare.EntityMappings.EntityMaps
{
    public class FamilyEquipmentMapping : ClassMap<FamilyEquipmentEntity>
    {
        public FamilyEquipmentMapping()
        {
            Table("Equipment_Family_Mapping");
            Id(x => x.Id).Column("Id").Not.Nullable();
            Map(x => x.FamilyId).Column("FamilyId");
            Map(x => x.EquipmentId).Column("EquipmentId");
            Map(x => x.ScheduleId).Column("ScheduleId");
        }
    }
}